package com.ruoyi.system.domain.param;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@ApiModel(description = "培训列表分页参数")
public class SysTrainingPageParam {

    @ApiModelProperty(value = "文件名称")
    public String fileName;

    @ApiModelProperty(value = "项目id")
    public Integer projectId;

    @ApiModelProperty(value = "培训分类名称")
    public Integer trainingCategoryId;

    @ApiModelProperty(value = "项目名称")
    public String projectName;

    @ApiModelProperty(value = "开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    @ApiModelProperty(value = "结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    @ApiModelProperty("当前页")
    private Integer current;

    @ApiModelProperty("每页的数量")
    private Integer size;
    //0创新中心页  1管理页面
    @ApiModelProperty("类型")
    private Integer type;
}
